package com.powernode.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.powernode.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author lxl
 * @since 2022-03-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UmsUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 用户邮箱
     */
    private String email;

    /**
     * 用户头像
     */
    private String icon;

    /**
     * 状态
     */
    private Integer active;

    /**
     * 密码
     */

    @JsonIgnore
    private String password;

}
